home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr11 / powerb5.zip / P5SPR002.TIP < prev    next >
Text File  |  1993-06-01  |  2KB  |  64 lines

  1. To make life easy for your 1-2-3 users, try making a menu of
  2. the macros available for use in a spreadsheet or spreadsheet
  3. template. But for some people even this isn't enough; they
  4. look at the menu and say Help! So I wrote a macro that lets
  5. them bring up help screens when they need
  6. explanations of the available choices. I usually create a
  7. menu in the format shown below:
  8.  
  9.         AA      AB      AC      AD      AE      AF      AG
  10. 1
  11. 2  Help is available on all menu choices. Hold down
  12. 3  <ALT> and press "H", then use the arrow keys to move
  13. 4  to the cell directly to the left of the menu choice
  14. 5  that you want help for. Once there, type "X" and
  15. 6  press <Enter> to go to the help screen for that choice.
  16. 7
  17. 8
  18. 9             <Alt+R>eturn to menu
  19. 10            <Alt+P>rint report
  20. 11            <Alt+S>ave worksheet with current data
  21. 12
  22.  
  23. Then I assign the range name MENU to a cell above, and to
  24. the left of, the top of the menu. I assign the range name \0
  25. (backslash zero) to a macro elsewhere on the worksheet that
  26. reads {GOTO}MENU~. Since \0 executes automatically when the
  27. spreadsheet is retrieved, users always start at the menu.
  28.  
  29. Before creating the help menu, I assign names to the cells
  30. immediately to the left of the menu options; in this
  31. particular example, I'd name cells AA9, AA10, and AA11
  32. MENUX, PRINTX, and SAVEX, respectively. I'd then go to three
  33. other out-of-the-way worksheet areas, type the actual help
  34. text in those locations, and name those ranges MENUH,
  35. PRINTH, and SAVEH. Finally, I would create a macro named \H,
  36. as shown below, which displays the help text for any menu
  37. entry that the user has marked with an X. The user is taken
  38. to the appropriate help screen and can read it until he or
  39. she presses <Enter>.
  40.  
  41. Bill Hartwell
  42. Lyndonville, Vermont
  43.  
  44. Editor's Note: The macro below, which should be given the
  45. name \H to work as described above, drives Mr. Hartwell's
  46. menu system. The macro is also available -- for your
  47. convenience -- as the file P5SPR\MENU.WK1 on your PowerBase
  48. *.* Volume 5 diskette.
  49.  
  50. {GOTO}MENU~
  51. {?}~
  52. {IF @UPPER(MENUX)="X"}{GOTO}MENUH~Press <Enter>{?}{ESC}{GOTO}MENU~/REMENUX~
  53. {IF @UPPER(PRINTX)="X"}{GOTO}PRINTH~Press <Enter>{?}{ESC}{GOTO}MENU~/REPRINTX~
  54. {IF @UPPER(SAVEX)="X"}{GOTO}SAVEH~Press <Enter>{?}{ESC}{GOTO}MENU~/RESAVEX~
  55. {QUIT}
  56.  
  57.  
  58. Title: Help for 1-2-3 Macros
  59. Category: SPR
  60. Issue Date: March, 1992
  61. Editor: Brett Glass
  62. Supplementary Files: P5SPR\MENU.WK1
  63. Filename: P5SPR002.TIP
  64.